home *** CD-ROM | disk | FTP | other *** search
/ Network PC / Network PC.iso / amiga utilities / graphics / fractals / mandeltour / mandeltour.doc < prev    next >
Encoding:
Text File  |  1997-11-20  |  66.4 KB  |  1,391 lines

  1.  
  2.                              MANDELTOUR/AGA v3.0 
  3.  
  4.  
  5.  
  6.  WHY A NEW MANDELBROT EXPLORER ?
  7.  
  8. There are already lots of Mandelbrot explorers, most in the public domain,
  9. and a few, very performing, commercial ones, such as Mand2000. Is there 
  10. any room left for a new product?
  11.  
  12. Two simple answers:
  13.  
  14. 1 - Take a glance at MandelTour pictures. If you feel that you already
  15.     saw them hundreds of times, better stick to your old Mandelbrot 
  16.     explorer; MandelTour is not for you. 
  17.        If you see the difference, you should be interested with the 
  18.     numerous rendering options of MandelTour and its exclusive palette 
  19.     facility. There is nothing equivalent in other Amiga packages.
  20.  
  21. 2 - MandelTour is designed for a systematic exploration of Mandelbrot set.
  22.     This is a complete universe to explore, fascinating, but infinite...
  23.     Why waste time in exploring again areas which were already computed
  24.     weeks or months before? MandelTour keeps a catalog of all the pictures
  25.     which have been saved and allows you to redisplay any of them with a
  26.     few mouse strokes. Once again there is nothing equivalent right now.
  27.  
  28.  
  29.  
  30.  
  31.  INSTALLATION 
  32.  
  33.  
  34. Before anything, do make security backups of the two supplied diskettes. They
  35. are not copy protected. Don't change their names! (in other terms, if you
  36. used Workbench facilities for these backups, rename these copies so as to 
  37. remove the words "Copy_of_" from the diskettes names.
  38.  
  39.  
  40. The installation of MandelTour is rather simple, but you must decide between
  41. several options, depending on your setup and your habits. You must understand
  42. that MandelTour is designed for a systematic exploration of Mandelbrot and
  43. Julia sets and that it keeps a catalog of all the calculations that you have 
  44. saved, in a special file along the main program. So:
  45.  
  46. 1 - If you have only one floppy, there is no installation to be done, but
  47.     be prepared to do some swapping. Everytime that you save a picture, 
  48.     the program will ask first for the current storage diskette, so as to put
  49.     the new picture asides the preceding ones, then for the master diskette,
  50.     so as to update the catalog. 
  51.  
  52. 2 - If you have two floppies, keep the master diskette in one of them and
  53.     put the storage diskettes in the other one.
  54.  
  55. 3 - If you have a hard disk, you can install the program on your disk. 
  56.     Simply open the master diskette and drag the icone of the MandelTour
  57.     drawer onto your hard disk. Then the program will run from the hard disk
  58.     but will go on asking for diskettes for saving the pictures.
  59.  
  60. 4 - The preceding solution is not completely satisfactory because of the
  61.     slowness of floppy operation. Also, picture files range from 40-60 Kbytes
  62.     (lowres) to 200-300 (hires, by far the most attractive pictures), so
  63.     you can't store many of them in a diskette and moving through the 
  64.     catalog still implies some swapping. Things are considerably easier 
  65.     and faster if you save your pictures on your hard disk too.
  66.  
  67.     However, beware! If you really get a taste for the thing, you could 
  68.     gather a few hundreds of pictures, up to 300Kbytes each... Do you have 
  69.     enough room on your disk?
  70.          (don't worry too much, it is always possible to clear a part of the
  71.          library...but less easy to recover the dismissed pictures. Moreover,
  72.          you can always begin this way and later on decide to save your 
  73.          pictures in diskettes)
  74.  
  75.     If you do want to run this way, merely copy all the files of the 2nd 
  76.     diskette in your MandelTour drawer. There are several methods for this:
  77.     (i)   from Shell... surely you know what to do   
  78.     (ii)  from Workbench:
  79.           - open this diskette
  80.           - select the 'Show all files' option in the 'Window' menu. If 
  81.             necessary, increase the size so as to see all the files.
  82.           - drag all the file icons onto the MandelTour drawer icone. There 
  83.             will be a warning requester for the 'Mandel.biblio' file, already
  84.             existing. Choose to overwrite it.    
  85.           That's all!  
  86.     (iii) you could also operate from the program, through the 'Add Picture'
  87.           menu - more about this later. 
  88.  
  89.  
  90.  
  91. If you are not patient enough to weight pros and cons and make up your mind,
  92. or if you can't prevent yourselves from running MandelTour without reading 
  93. the doc, go ahead! You can run MandelTour safely from the diskettes, and, 
  94. hopefully, you should use it intuitively for most of its functions. Simply, 
  95. have an empty formatted diskette handy in case you would decide to save your 
  96. first pictures right away. It will be possible to install the program on 
  97. your hard disk at any time. 
  98.           (For this, simply follow the above lines. However, if you want
  99.            not to loose your new pictures, you will have to use the
  100.           'Add Picture' menu -- and to read the corresponding information.)
  101.  
  102.  
  103. MandelTour is memory hungry. It opens 2 screens when running in Julia mode,
  104. both of which can be overscan hires 8-plane screens, i.e. 300-400 Kbyte each.
  105. Additionnally, its rendering facilities ask for a temporary storage of 
  106. 2 bytes per pixel, i.e. up to 800 Kbytes more... So, better have plenty
  107. of memory, otherwise don't run too many tasks at once! 
  108.  
  109.    
  110.  
  111.  
  112.  
  113.  
  114. --------------------------- INTRODUCTION ---------------------------------
  115.  
  116.  
  117.  
  118. The Mandebrot Set is a very complex object that you can see as the black shape
  119. in the opening screen. A few details about its computation are given at 
  120. the end of this notice. The important point is that the Set is a  mine of 
  121. fascinating pictures, and the only purpose of this software is to help you to  
  122. dig them out without worrying about the underlying mathematics.
  123.  
  124.  
  125. These pictures can be understood simply. Assume that the Set can be cut out 
  126. of a metal plate and that this plate is heated. The temperature arises all 
  127. around. This can be visualized with a thermography, i.e. points with a 
  128. temperature within a given range are rendered with a given color, points 
  129. with a temperature inside another range are rendered with another color, 
  130. and so on... Roughly, the temperature varies all the more rapidly (in other 
  131. terms, there are all the more colors) as one is closer to the Set boundary, 
  132. and this is the key point: the Set boundary is fantastically, marvelously 
  133. complicated. You cannot really sense this from the only opening picture. 
  134. You can see disks in all sizes and you can admit that others exist that are 
  135. too small to be seen, due to the poor resolution of the screen. But there 
  136. is more. The Set can be continued with myriads of invisible lines that 
  137. connect it with myriads of microscopic replicas of the main set. These lines 
  138. are invisible but, within our thermography interpretation, they make the 
  139. temperature arise around them and this makes fantastic structures appear. 
  140. Now, in order to view them, you must watch very tiny details, very near the 
  141. Set boundary; you need a powerful microscope. MandelTour just supplies it.
  142.  
  143.  
  144. The principle is very simple: you begin with a full-screen picture of the
  145. whole Set. You frame a part of it in the same way as you would make a DPaint
  146. brush. This part is enlarged, possibly to the full screen size and... you 
  147. repaet the process again and again, framing and enlarging. All the pictures 
  148. can be saved in IFF/ILBM format, so you can export them in other graphical
  149. softwares.
  150.  
  151.  
  152. A major problem is how not to get lost when you go deeper and deeper in 
  153. the Set details. Think that the Set enlarged by a (very modest, by the terms
  154. of MandelTour) 1000000 ratio is more than 200 miles wide while only a 
  155. 14-inch area can be seen through your screen. And think that you can go
  156. far deeper, roughly up to a 10^35 ratio --- then the Set would be larger 
  157. than the whole known universe!!! In addition, as you proceed with successive 
  158. enlargements, you often find several places in the same screen that all seem 
  159. worth a close-up. Then you must be able to go back in your exploration so 
  160. as to enter another branch. 
  161.  
  162. These problems are handled with a purely graphical method. All the pictures
  163. obtained with this program (and saved) are pieces of a large graphical library
  164. which allows you to come and go in the Set. The catalog of this library is 
  165. kept up to date in a special file, Mandel.biblio, where every picture 
  166. corresponds to a record of the strategic data concerning it.
  167.  
  168. The navigation through the catalog is done through two "Zoom" functions.
  169. First, the "Zoom In" function begins by drawing the outlines of all the 
  170. pictures which were obtained by enlarging the picture on screen. Then you 
  171. just have to frame one of these outlines with the mouse to reload the 
  172. corresponding picture (you can also choose among the largest of these 
  173. outlines by means of arrow keys only, as will be explained later). Conversely, 
  174. the "Zoom Out" function scans the catalog and reloads the smallest picture 
  175. which contains the picture on screen. All this is completely automatic when 
  176. all the pictures are within reach from the program, i.e. when all is on hard 
  177. disk; in the case of a diskette library, you will be asked the diskette which 
  178. contains the required picture.
  179.  
  180.  
  181. MandelTour also allows you to produce other kinds of pictures, namely Julia 
  182. pictures and "incomplete Mandelbrot" pictures. All of them are related to
  183. the Mandelbrot Set. 
  184.                                              
  185.  
  186.  
  187.  THE JULIA SETS
  188.  
  189.  
  190.  
  191. Trying to explain Julia sets to a non-mathematician is as difficult as
  192. explaining the Mandelbrot set --- hopeless, in fact. So, we give just a 
  193. few descriptive words. First, if there is a single Mandelbrot set, there
  194. is an infinite number of Julia sets. Each of them can be enlarged as deep
  195. as one wants, but you will rapidly discover that enlarging Julia sets
  196. does not reveal new details (informed people speak of auto-similarity,
  197. i.e. one gets the same patterns irrespective of the scale), so usually
  198. one does not go too deep inside Julia sets.
  199.  
  200.  
  201. There is a strong relationship between Mandelbrot and Julia sets. Each Julia
  202. set is characterized by its "source point", which must be specified in the
  203. Mandelbrot set plane. If the source point belongs to the Mandelbrot set
  204. (i.e. graphically, if it lies inside the black part), then the Julia set
  205. looks like the above mentioned solid plate of the Mandelbrot set, i.e. its 
  206. picture contains a large black part. If the source point is outside (in the 
  207. coloured part of the Set), then the Julia set only contains invisible dusts 
  208. and threads, and especially the complex coloured structures attached to them.
  209. Julia sets exhibit a sharp transition when their source point passes through 
  210. the boundary of the Set, and their pictures are all the more complex and
  211. attractive as the source point is nearer the boundary.
  212.  
  213.  
  214. In MandelTour, the navigation through the Julia sets is done by means of
  215. two screens. One of them shows the plane of source points, i.e. the
  216. Mandelbrot set or a part of it, and all the visible source points of 
  217. Julia pictures in the catalog are indicated. The other screen is the Julia
  218. screen. To load a Julia picture, you just have to click its source point 
  219. in the Mandelbrot screen. Then, if you have saved enlargements of this 
  220. particular Julia set, you can move back and forth between them with the 
  221. zoom in and out functions, as in the Mandelbrot set.
  222.  
  223.  
  224.   
  225.  
  226.  INCOMPLETE MANDELBROT SETS
  227.  
  228.  
  229. The "incomplete Mandelbrot sets" are obtained through a very simple
  230. change in the calculation recipe (see Appendix). There are 5 variants,
  231. leading to "incomplete-1" to "incomplete-5" sets. They too are defined
  232. by a source point, which again will be chosen in the Mandelbrot plane,
  233. but there is now no special relationship between the Mandelbrot set and
  234. these special sets. As far as I know, there is no mathematical interest
  235. in these sets, but they can provide interesting pictures. 
  236.  
  237. The name "incomplete set" comes from what can be obtained with the 
  238. "incomplete-1" kind. This looks like the classical Mandelbrot
  239. pictures, except that a part has been removed, more or less important
  240. depending on the location of the source point.
  241.  
  242.  
  243.  
  244.  
  245.  THE PROGRAM MODES
  246.  
  247. So, there are 3 different modes in the program, namely (pure) Mandelbrot,
  248. Julia and incomplete-Mandelbrot modes. The program is always initialised
  249. in Mandelbrot mode. Mode change is performed through a menu function.
  250.  
  251. MandelTour mentions again the running mode after any menu call or after a 
  252. mere mouse click. 
  253.  
  254.  
  255.  
  256.  
  257.  THE PICTURE COLOURING
  258.  
  259.  
  260. Here, are a few sketchy explanations about what happens when the program 
  261. computes a picture. More information will be given later. 
  262.  
  263. A numerical picture is made of discrete points, the "pixels", 320x256 for 
  264. a lowres PAL screen or more if you are running in overscan or in hires. 
  265. For every pixel, the program computes a number N --the "temperature"
  266. mentioned above-- then it stores N in a kind of file and it sets this pixel
  267. in a temporary colour. At the end of the calculation, the N-file
  268. is read again and the program makes its best to divide the interval swept 
  269. by the N's into as many slices as available colours, with slices as 
  270. equal as possible. Then the pixels are recoloured in the colour attributed
  271. to their slice.    
  272.  
  273. This first colouring is always done with the same colours as the parent
  274. picture. Colours can be changed with the "palette" menu function. One can
  275. also choose more sophisticated rendering through the "rendering" menu
  276. function.
  277.  
  278.  
  279.  
  280.  
  281.  THE MAXIMUM ITERATION NUMBER 
  282.  
  283.  
  284. Still an effort for non-mathematicians! You must understand that for every
  285. pixel the program enters a loop of calculations and it repeats it more or 
  286. less depending on whether the pixel is inside the set or outside. The above
  287. mentioned N numbers are simply the numbers of loops -- the number of
  288. "iterations" -- which are done for the various pixels, before exiting
  289. and considering the next pixel.  
  290.  
  291. Theoretically, this loop should be endless inside the set. Of course, since
  292. running for ages is out of question, one must decide where does the eternity 
  293. begin. One chooses a maximum value NMAX for N. If, for a given pixel, one 
  294. still turns around the loop after NMAX iterations, it is assumed that one 
  295. will never go out; the pixel is assumed to belong to the set and it is 
  296. coloured in black. Of course, would one have continued one or two loops more, 
  297. maybe the iteration would have stopped by itself; in other terms, the  
  298. real N could be NMAX+1, or NMAX+2... and not infinity, and the pixel should 
  299. not be black. Such errors will be frequent if NMAX is chosen too low, 
  300. resulting in a dust of erroneous black pixels. If you meet too many of
  301. them, it will be time for you to increase NMAX for the following enlargements.
  302. However, before that, begin with accepting the NMAX proposed by the program. 
  303.  
  304.  
  305.  
  306.  
  307.  THE ARITHMETIC ACCURACY 
  308.  
  309. Another parameter plays an important part in the accuracy of computations,
  310. namely the number of digits used in arithmetic operations. MandelTour uses 
  311. fixed-point assembly routines with 32, 64, 96 or 128 bits. Obviously, a
  312. too low accuracy leads to meaningless calculations. MandelTour uses an
  313. empirical recipe to choose the relevant accuracy, but you can override this
  314. choice if it does not yield satisfactory results.
  315.  
  316.  
  317.  
  318.  
  319.  THE PICTURE RESOLUTION 
  320.  
  321.  
  322. MandelTour can provide pictures in any of the screens available to your 
  323. setup, with the size that you want and up to 256 colours -- insofar as 
  324. the corresponding screen can be open. However, we urge you not to multiply 
  325. the screenmodes too much in the library.
  326.  
  327. A MandelTour "screenmode" is defined with a mode (i.e. lowres, hires...),
  328. a size (320 x 256,...) and a depth (up to 8 for 256 colours). Changing one
  329. of these parameters induces a change of the screenmode. The important point
  330. to be noticed is that loading a picture with a screenmode different from 
  331. that of the current picture requires closing the current screen, opening 
  332. a new screen and finally loading the new picture. Screen closing and opening
  333. are slow operations which should be avoided as far as possible. 
  334.  
  335. Choosing an arbitrary size can arise another difficulty: MandelTour
  336. assumes that your screen has a physical width/height ratio of 4/3 (on your
  337. monitor) and it relies on this assumption to avoid distortions in its
  338. enlargements. Using screens with arbitrary dimensions can lead to deformed 
  339. pictures. This distortion can be put in evidence by recomputing the opening 
  340. Mandelbrot picture in this new mode: the disks all around the main body 
  341. should be perfect circles. If they are not, correct the width or the height
  342. and redo the computation from the 1st picture. 
  343.   
  344.  
  345.  
  346.  
  347.  
  348.  
  349. ----------------- MANDELTOUR MENUS AND FUNCTIONS  -----------------------
  350.  
  351.  
  352.  
  353.  
  354. MandelTour is structured around three menus
  355.   - a General menu, which puts together several utilities
  356.   - a Navigation menu, which contains the various functions for moving
  357.        through the graphical library
  358.   - a Creation menu, which contains all the functions for computing new
  359.        pictures or for modifying them.
  360.  
  361. We begin with the 2nd menu
  362.  
  363.  
  364.  
  365.                                                 Zoom in
  366.                                                 Zoom out
  367.                                                 Click Source
  368.                           "NAVIGATION" MENU     Change screen
  369.                                                 Refresh
  370.                                                 Data
  371.                                                 Load picture  
  372.                                                 Reset
  373.                                                 Slide show
  374.  
  375.  
  376.  
  377.              This function first displays the part of the catalog which can
  378. Zoom in      be reached from the picture on screen, i.e. it draws the
  379.              oulines of all the enlargements made from this picture. You
  380.              must redraw one of these outlines to load the corresponding
  381. picture. For this, put the cursor near the top left corner of the target
  382. outline, press the left button and drag the mouse towards the right, while
  383. keeping the button pressed. This makes a rectangle to appear. It is not 
  384. required for this rectangle to coincide exactly with the target outline:
  385. the program will look for the nearest picture in the catalog. 
  386.  
  387. Moving the 2nd side of your rectangle on the left of the first corner
  388. and then releasing the button cancels the selection. You must resume all
  389. the process, clicking the left corner and drawing a rectangle by dragging
  390. towards the right.
  391.  
  392. If you want to return to the menu, hit Escape key. Finally, drawing a 
  393. rectangle as large as the screen will reload the same picture.
  394.  
  395. The deepest enlargements are rendered as mere points, near invisible. To make
  396. them more visible, hit the ARROW-UP key (which is the keyboard shortcut for 
  397. the Zoom In function). These points are then transformed into more visible
  398. crosses.
  399.  
  400.  
  401. The Zoom In function can also be controlled by means of arrow keys only:
  402. - The UP key has 3 functions :
  403.     (i)   calling the zoom-in function (at first press). The largest outline
  404.           is printed in bold: this means that it is preselected, i.e. ready
  405.           to be selected.   
  406.     (ii)  this preselected frame is selected  with a 2nd press. It is then
  407.           reprinted in another colour. A secondary effect of this 2nd press 
  408.           is to redraw the point-like outlines as crosses, so as to make 
  409.           them more visible.
  410.     (iii) loading the selected picture when pressed again just after the 
  411.           2nd press (otherwise the selection is cancelled)
  412. - The RIGHT and LEFT keys are used to change the preselection among
  413.       the 8 largest outlines. The preselected frame is always bold-printed. 
  414. - The DOWN key has the same effect as ESCAPE, namely to return to the 
  415.       general menu. 
  416.  
  417.  
  418.                This is the reverse function of "Zoom In". The program
  419. Zoom Out       looks for the pictures which contain the picture on screen
  420.                and reloads the smallest of them.
  421.  
  422. Two screens are opened within Julia or incomplete-Mandelbrot modes, one for
  423. Julia or incomplete-Mandelbrot pictures, the other one for the sources in 
  424. Mandelbrot pictures. The Zoom functions run on the two screens. 
  425.  
  426.  
  427.                This function is activated only within Julia or incomplete
  428.                Mandelbrot modes. The program switches to the "Source"
  429. Click source   screen and you must click one of the visible source points.
  430.                Then the first picture computed with this source point is
  431.                reloaded.
  432.  
  433.  
  434.                This function is activated only within Julia or incomplete
  435. Change screen  Mandelbrot modes. It acts as a toggle between the 
  436.                source screen and the picture screen.       
  437.  
  438.  
  439.                Reloads the picture on screen, so as to clean it from various
  440. Refresh        writings (for instance after a cancelled zoom or a cancelled
  441.                computation).
  442.  
  443.  
  444.                Makes a window open with strategic data about the picture 
  445. Data           on screen: the name of its IFF/ILBM file, its type (Mandelbrot,
  446.                Julia...), the coordinates of its corners and its possible 
  447.                source point, plus a little information about the computation. 
  448.  
  449.  
  450.                Loads a picture directly from its position in the catalog.
  451.                Notice that this position is not necessarily the number which
  452. Load Picture   appears in the name of the file (these files are automatically
  453.                labeled Mandel1, Mandel2, Mandel3... by the program, but once
  454.                you have deleted one of them, the vacancy in the numbering 
  455.                is never filled). 
  456.  
  457.                Also, notice that you can leaf through the catalog by means
  458.                of the keyboard shortcuts explained later.
  459.  
  460.                
  461. Reset          Reloads the first picture (the whole Mandelbrot set) in the
  462.                Mandelbrot screen.
  463.  
  464.  
  465.                This function proposes a continuous display of selected pictures
  466. Slide show     in your library, with a given time for every picture (actually, 
  467.                a rather crude slide show, without double buffering). Of course,
  468.                this function is of no interest to people without a hard disk,
  469.   since they would be obliged to stay near their machine to insert the picture
  470.   diskettes as they are asked for by the program. 
  471.     
  472.   Selecting this function makes a pop-menu to appear, with 4 options:
  473.    - an adjustement of the delay between pictures. Set integer values, 
  474.      from 1 to 127 sec.
  475.    - a general selection for all pictures, so as to decide which will appear
  476.      in the slide show. Every picture is displayed, and you are reminded
  477.      whether the picture was previously retained or dismissed, or if it was
  478.      never sorted out; you must decide, either by clicking the buttons YES 
  479.      or NO, or by hitting keys 'y' or 'n') 
  480.    - a selection on the last pictures, which were never sorted out.
  481.    - the slide show itself. Press Escape key to stop it.
  482.  
  483.    The slide show can also be activated at any time by simultaneously 
  484.    pressing the '+' key (in the numeric pad) and either the Right or Left 
  485.    arrow key.  
  486.  
  487.    Warning: informations about the timing and the picture selection are
  488.    definitely transferred to your catalog only if you exit from MandelTour
  489.    by the 'Exit' menu.
  490.  
  491.  
  492. KEYBOARD SHORTCUTS : a few of the navigation functions can be directly 
  493. obtained from the keyboard, through the following keys:
  494.      RIGHT arrow : forward move by one picture in the catalog       
  495.      LEFT  arrow : backward move by one picture in the catalog       
  496.      UP    arrow : zoom in ; pressing twice visualizes the point-like frames                   
  497.                    (finally you must redraw one outline with mouse)                    
  498.      DOWN  arrow : zoom out
  499.      RETURN      : data on the displayed picture  
  500. Also notice the combinations
  501.      SHIFT+RIGHT : jumps to the last picture
  502.      SHIFT+LEFT  : reset (reloads the 1st picture)
  503.      'numeric' (in the numeric pad) + RIGHT or LEFT : forward or backward
  504.                  move in the catalog by 'numeric' pictures
  505. This information can be retrieved at any time by pressing the "Help" key
  506.  
  507.  
  508.  
  509.                                               New picture
  510.                                               Palette
  511.                       THE "CREATION" MENU     Rendering
  512.                                               Freeze palette
  513.                                               Mode change
  514.                                               Animations  
  515.                                               De-enlarging
  516.  
  517.  
  518. New picture    This is the entry for computing a new picture. The full
  519.                operation is done in 4 steps:
  520.  
  521.  
  522. I - The geometrical definition of the picture.
  523.        In pure Mandelbrot mode, only enlargements are possible. One begins
  524.     with outlining the part of the displayed picture which must be enlarged,
  525.     in the same way as in the "Zoom In" menu.  
  526.    
  527.            In fact, there are 3 modes to adjust the rectangular outline; one
  528.            swiches from one to another one by pressing special keys. The 
  529.            default mode is the "full screen" mode, i.e. the enlarged picture
  530.            will cover the full screen. You must drag the mouse towards the 
  531.            right, otherwise the drawn rectangle is not accounted for and all
  532.            must be done again. In this mode, the left side of the rectangle
  533.            always remains at the same X-position, but the whole rectangle 
  534.            moves up and down with the mouse. If you have left this 
  535.            full-screen mode, you can recover it by pressing the "f" key 
  536.            (don't keep the key down, a single stroke is enough)
  537.  
  538.            You get the "drag" mode by pressing the "d" key. Then the 
  539.            rectangle is moved as a whole.
  540.  
  541.            You get the "free" mode by pressing any other key (different from
  542.            f, d -- also, Escape or the arrow keys make you to quit). Then the 
  543.            left top corner is fixed and you move the lower right corner with 
  544.            the mouse (again, moving on the left of the initial corner cancels
  545.            the selection).  
  546.            
  547.     In Julia or incomplete-Mandelbrot modes (of course, you must have moved
  548.     to such a mode, through "Mode Change" menu), there are 3 possibilities:
  549.     (1) you can enlarge a part of the displayed picture, as in the pure
  550.         Mandelbrot mode
  551.     (2) you can compute a full new Julia set, by choosing a new source point.
  552.         In this case, the program switches to the Mandelbrot screen and
  553.         invites you to click at a new source point. If the Mandelbrot
  554.         picture is not detailed enough to choose accurately or if the 
  555.         correct part of the Set is not displayed, you can escape to the menu 
  556.         (Escape key), change the view in the Mandelbrot screen and make
  557.         a new choice for the source point.
  558.     (3) if you have already an enlarged Julia (or incomplete Mandelbrot) 
  559.         picture, you can choose to keep the same scale with a new source 
  560.         point. Proceed as above.  
  561.  
  562.     In any mode, when you are requested either to draw a new frame or to
  563.     click a new source point, you can always return to the general menu
  564.     by pressing the Escape key.
  565.  
  566.     Even if you absolutely want to enter coordinates through the keyboard,     
  567.     draw an outline or click a source point anywhere; MandelTour will
  568.     deal with you in a while.
  569.  
  570.  
  571. II- Then MandelTour opens a window where all the options for the next
  572.     computations are summed up. Most of them simply come from the parent
  573.     picture. There are 6 lines and 3 buttons. Click everywhere you want 
  574.     modifications and answer the questions. 
  575.  
  576.     (1) The 1st line reminds you that the frame and the source point come
  577.         from the choices you did with the mouse. If you want to enter
  578.         coordinates through the keyboard, now is the right time! Click and 
  579.         type your inputs. However, notice that you are allowed numbers 
  580.         from -1.9999... to 1.9999... only (neither 2.0, nor -2.0). 
  581.  
  582.     (2) The 2nd line generally tells that the accuracy is automatic, i.e.
  583.         MandelTour decides by itself how many bits to use in arithmetics
  584.         This should work fine in Mandelbrot mode, but maybe not for enlarged
  585.         Julia sets. If a picture appears vitreous or fuzzy during the
  586.         computation, you must override this choice. A simple way consists
  587.         in stopping the computation, without reloading the initial picture.
  588.         Ask for a new picture and frame the full screen: thus you will 
  589.         obtain a new computation of the same picture. Then override the 
  590.         automatic choice by clicking twice this 2nd line: the 1st click 
  591.         makes the current accuracy appear, 32-bit for instance, and the 
  592.         2nd click sets the next higher accuracy (64-bit, in our example). 
  593.         If you go on clicking, you will return to the automatic mode. 
  594.  
  595.     (3) NMAX choice (no more than 65535)
  596.  
  597.     (4) This line gives the pixel size of the future picture and indicates
  598.         whether it is the highest possible or if it is reduced. In the former 
  599.         case, either the width or the height is that of the screen, depending
  600.         on the shape ratio you have chosen for your framing.
  601.           If you click, you are asked for a reduction ratio, in percents.
  602.         Answer 100 for the highest size; RETURN for no change. 
  603.           Any picture computed from a reduced picture is proposed with the
  604.         same reduction ratio. 
  605.      
  606.     (5) This line deals with the saving of the future picture. You can choose
  607.         either an automatic saving, or a saving after a request.      
  608.           In animation mode, this line informs you that the pictures will be
  609.         saved in ram. Click if you prefer to save them elsewhere.
  610.  
  611.     (6) This line allows you to force where to save the future image.
  612.         Theoretically, MandelTour knows which is the "current" disk(ette),
  613.         namely where the last picture has been saved, and it will attempt
  614.         to save the future picture in the same place. If you click this line,
  615.         you will be asked where to put this picture. 
  616.           This line is specially interesting to people who have begun
  617.         their library on a hard disk and who would wish to switch to
  618.         diskettes.  
  619.       
  620.  
  621.     There are also three buttons. The third one ("Cancel") sends you back
  622.     to the general menu. The first one makes the computation begin.
  623.     The 2nd allows you to change the screen mode: a new pop-menu window
  624.     opens, where you can modify one of the current screenmodes (i.e. the 
  625.     screenmodes of the pictures in your library) or choose a completely 
  626.     new screenmode through the standard Intuition ScreenMode requester.  
  627.       
  628.  
  629.     Notice that the rendering parameters are not within reach from this
  630.     parameter confirmation. A new image is always first rendered in the 
  631.     same way as the parent picture, then it can be changed by means of 
  632.     the "rendering" menu.
  633.  
  634.  
  635. III- The computation begins. MandelTour attempts to store intermediate
  636.     results in ram, with 2 bytes per pixel (hence from 164 K for a lowres 
  637.     PAL, 256-color, 320 x 256 picture, to near 800 K for an overscan hires
  638.     picture). If there is not enough memory available, MandelTour suggests
  639.     to store these results in a real file, on disk(ette), and asks you
  640.     where to put it.
  641.  
  642.     Don't consider the colouring of the screen during the computation! This
  643.     is mainly a mere indication of the advancement of the computation. 
  644.     After the last pixel, MandelTour reads again the stored results so as
  645.     to analyse the histogram and to allocate the available colours at best.
  646.     However, this is not yet the definitive colouring because the new picture 
  647.     generally does not have as many colors as the parent picture; thus there
  648.     is a final remapping of the parent palette on the daughter palette so
  649.     as to get nearly the same range of colors.
  650.     
  651.     You can always stop computing simply by clicking. If you confirm the 
  652.     stop, you are proposed to reload the previous image, but you may prefer
  653.     to remain with the partly computed picture in order to frame a new 
  654.     enlargement at once, if what you see in it is enough for you. If finally 
  655.     you prefer to reload the preceding picture, use the "Refresh" menu.     
  656.  
  657.  
  658. IV- Finally, MandelTour proposes to save the picture, unless it does so by
  659.     itself if you enabled the automatic saving. In pure Mandelbrot mode,
  660.     accept the saving, unless the picture is specially disappointing. Even
  661.     not very attractive, it could serve as a starting point for future 
  662.     explorations. Pictures are automatically numbered.
  663.  
  664.     When the current diskette is full, MandelTour asks you to insert a new
  665.     empty formatted diskette. BE SURE TO GIVE DIFFERENT NAMES TO YOUR
  666.     DISKETTES !!! MandelTour uses these names in the catalog and in the
  667.     navigation functions. If it looks for the picture toto:Mandel28,    
  668.     and if the toto diskette is not mounted, you will be requested
  669.     "to insert volume toto: in any drive". It would then be worrying to
  670.     have two diskettes named toto...  
  671.  
  672.     When MandelTour asks for a new storage diskette, it announces the free
  673.     space in the current diskette and an estimated size for the saving file,
  674.     without taking the ILBM data compression into account. Actually, this
  675.     compression can be very significant for the first pictures (later on,
  676.     for very complex pictures, it will become rather weak), so you can 
  677.     disregard the request and attempt the saving in the same diskette. There
  678.     will be no damage if this fails; you will just have to insert the 
  679.     required new diskette.
  680.        
  681.  If you want to import your pictures in other painting programs, you must
  682.  know how MandelTour named them. You get the information by means of the
  683.  "Data" menu (or more simply, with the RETURN key). However, better work on
  684.  a copy instead of the MandelTour file itself. Indeed, an ILBM MandelTour
  685.  file contains a special information chunk which would be lost after a saving
  686.  in the painting program. This information is not essential in the usual
  687.  operation of MandelTour, but it could be in case of an accidental loss
  688.  of the catalog file.
  689.    A convenient way to get this copy is the "Saving" function, in the
  690.  "General" menu.
  691.  
  692.  
  693.  
  694.           Obviously, you will use this function to set colours to your
  695.  Palette  own taste. It is a 8000-byte assembly routine with a lot of 
  696.           features. Of course it was designed for an intuitive use, but
  697.  a few extra points must be explained.           
  698.  
  699.  First of all, because of the system, the pictures do not use all of the
  700.  256 available colours, but only the colour 0 (black) and colours 20 and
  701.  above. Indeed the 11 first colours are used by Intuition for the 3-D look
  702.  of windows (these colours are listed in Appendix) and, specially, colours
  703.  17, 18, 19 are used for the mouse pointer. Now, if we used a very smooth
  704.  colour gradation over a large interval containing colours 17--19 (for 
  705.  instance, from colour 15 to colour 100), the mouse pointer could become 
  706.  near invisible over an extended range of colours. Since these colours are 
  707.  imposed by the system, the simplest solution was to begin the colouring 
  708.  from colour 20.  
  709.  
  710.  The palette opens very classically, with 3 slide gadgets for either RGB
  711.  or HSL components. The RGB components of the selected colour are displayed
  712.  in the title bar. The 20 colours left apart are displayed with smaller
  713.  plots but they can be selected; thus one can customize the aspect of the
  714.  program windows and menus, or check the visibility of the mouse pointer.
  715.  Beyond these 20 colours, only the colours really used in the picture are 
  716.  displayed.
  717.   
  718.  All the classical gadgets for copying, spreading, undoing and for the
  719.  general reset (return to intial colours) are here. The action of RGB/HSL
  720.  cursors is somewhat coarse when there are few colours (then the palette
  721.  has a small height), but don't forget this action can be adjusted
  722.  by clicking ]3maside]0m the slider, above or below: the RGB/HSL components are
  723.  then varied by one unit at a time.
  724.  
  725.  Notice that the colour gradations are HSL-based (thus, a gradation between 
  726.  two complementary saturated colours displays only saturated colours)
  727.  
  728.  If you keep the left button pressed on a colour plot, this colours starts
  729.  twinkling after a while. This is useful to localise a colour in the image.
  730.  
  731.  Lastly, there is a small button on bottom right, marked with "G". Clicking
  732.  it sets the gradation mode. Then the palette is considered a sequence of
  733.  linked color gradations, i.e. smooth variations of colours from a colour 
  734.  "node" to another one. The first job consists in identifying these nodes;
  735.  they are displayed with dotted rectangles (except for the 20 colours left
  736.  apart).
  737.  
  738.  These nodes can be lonely, when the colour which ends a gradation also
  739.  begins the next one. They can also occur by pairs when there is a gap
  740.  between the last colour of a gradation and the first of the next one.
  741.  Lastly they can occur by packs when the routine cannot see any gradation
  742.  among them. 
  743.  
  744.  In this gradation mode, only the nodes can be selected; you make one of
  745.  them the active colour by clicking it (the program will complain by flashing
  746.  if you click anywhere else; however, most of the 20 colours left apart are 
  747.  hidden nodes and can be selected). You can
  748.   - change the node colour with RGB/HSL sliders. 
  749.   - move the node, simply by dragging it with the mouse, until it meets
  750.     the next nodes. In the case of a gradation over several lines in the
  751.     palette, the node can pass from a line to another one.
  752.   - add a new node, by pressing the INSERT button.
  753.   - delete the active node, by pressing the DELETE button
  754.   - or undo your last operation.
  755.  In all cases, all the gradations of the palette are computed again from
  756.  the modified node. 
  757.  
  758.  Notice that the automatic research of node colours is not perfect, due to
  759.  rounding errors when passing from RGB to HSL in the routine. When you enter
  760.  the gradation mode, erroneous nodes may be displayed. It's up to you to
  761.  clean up with the DELETE button.  
  762.  
  763.  Lastly, the gradation mode exhibits a new gadget, labeled "AUTO", which
  764.  sets a random mode. Various keys control this mode; their action is 
  765.  reminded in the palette window. In a few words, the nodes do not move across 
  766.  the palette but their colours are changed continuously through their HSL
  767.  components, in various manners controlled by function keys: 
  768.     - F1 : only hues (H) are changed
  769.     - F2 : only saturations (S) are changed
  770.     - F3 : only levels - or brightnesses- (L) are changed
  771.     - F4 : H+S are changed ; F5 : H+L ; F6 : S+L  
  772.     - F7 : the three HSL components are varied
  773.     - F8 : all levels are inverted 
  774.  The numeric keys allow to choose various 5-node patterns, except
  775.  the "0" key, which resets the initial node pattern (which can have an
  776.  arbitrary number of nodes). Also notice: 
  777.     - The rapidity is controlled by the "+" or "-" keys. 
  778.     - The space bar stops the colors. Then you can retrieve the last palettes 
  779.       by pressing the LEFT key (one palette backward), or the RIGHT key 
  780.       (one palette forward). Pressing the space bar restarts the random mode.
  781.     - For exiting the random mode, press either RETURN (if you accept the
  782.       final palette) or ESCAPE (for cancelling).
  783.  
  784.  
  785.  When exiting the palette, if you have modified anything, MandelTour 
  786.  suggests you to save the picture again.
  787.  
  788.  
  789.  
  790.               This menu is activated just after a computation. It allows you
  791. Rendering     to choose among several kinds of colour renderings. A window 
  792.               opens, where the first line reminds you of the current 
  793.               rendering mode. The two or three next lines display the 
  794. various parameters for this mode. As usual, click everywhere you want a
  795. change (click the first line to change the rendering mode). Lastly, four
  796. self-explanatory gadgets:
  797.   - EXECUTE to render the picture in the new mode
  798.   - PALETTE to open the palette and change the colours
  799.   - SEE     sends the window to background, so as to better see the picture
  800.   - EXIT    returns to the general menu. If you have changed anything,
  801.             you will be suggested to save the picture again.
  802.  
  803.  There are five rendering modes.
  804.  
  805.  
  806.     I - DIRECT INTERPRETATION
  807.     
  808.     A single parameter, the least number of pixels per colour. Read the
  809.     Appendix to understand how MandelTour puts its colours and what this 
  810.     parameter means. Do experiments to master it. Too low a value leads to 
  811.     scrawny strands and too many colours in the palette; the last colours 
  812.     are practically useless because the corresponding pixels are scarcely 
  813.     noticeable (make them twinkle in the palette). Increasing the value makes 
  814.     the inflorescences richer while reducing the number of colours, but a too 
  815.     large value leads to a coarse picture. 
  816.  
  817.     It's up to you to find the best value --for you.
  818.  
  819.  
  820.  
  821.     II - LOCAL CONTRAST ENHANCEMENT 
  822.  
  823.     This function attempts to reinforce the strands beyond what can be
  824.     obtained by playing with the least number of pixels per colour. There
  825.     are 3 parameters to adjust.
  826.  
  827.     The principle consists in multiplying the real N of every pixel with a
  828.     factor all the larger as this N is farther from the minimum of the
  829.     neighbouring N's. The exploration radius is the half-side (in pixels)
  830.     of the square where this minimum is looked for. Better stay with low
  831.     values (1 or 2) so as not to exaggerate the contrast. 
  832.  
  833.     The threshold sets the difference between N and the local mimimum
  834.     below which nothing is done, so as to avoid possible artifacts for the
  835.     lowest N's --if you don't like them.  
  836.  
  837.     The contrast factor obviously allows you to adjust the contrast. Be
  838.     careful! You must DECREASE this factor to enhance the effect, and this 
  839.     effect is often quite brutal. Values larger than 15 are not taken into 
  840.     account; moreover, nothing will be visible for 10 and more if you are
  841.     not very deep in the Set, with an averaged N around 2^10. 
  842.  
  843.  
  844.  
  845.     III - OUTLINES
  846.  
  847.     This function detects points where N increases or decreases. The effect
  848.     is controlled by 4 parameters:
  849.       - there is no effect if N is less than the lower threshold or larger 
  850.         than the upper threshold.
  851.       - within this N-range, every detected outline is marked by moving the
  852.         colour by the 'jump' in the palette.
  853.            The value 'jump'=0 is special: all points other than outlines are 
  854.            put in black. If you want no outline around the Mandelbrot set,
  855.            set the upper threshold at NMAX-1.
  856.       - the colour skip allows you not to mark all outlines, but one over
  857.         2, 3...
  858.     
  859.      Setting both lower threshold and upper treshold at NMAX, with a zero
  860.      jump, you will get the outline of the Mandelbrot or the Julia set.
  861.      Remember that there are an infinity of Julia sets, if you are looking 
  862.      for an original outline.       
  863.  
  864.  
  865.      IV - BLURRING
  866.  
  867.      This function depends on 4 parameters. First, it performs the average
  868.      of the N's around the analysed pixel, in a square the half-side of which
  869.      is the displayed exploration radius, then it combines this average with
  870.      the local N, according to the displayed blurring weight, so as to
  871.      adjust the wished fuzziness:  
  872.  
  873.                      weight    %N    %average
  874.                        0       50      50         slight fuzziness
  875.                        1       25      75
  876.                        2       12      88
  877.                        3        6      94
  878.                        4        3      97         highest fuzziness
  879.  
  880.      More than 4 for the weight is useless. The effect to reinject a part
  881.      of the initial N (with lowest weights) is to partly recall the details 
  882.      of the picture. 
  883.  
  884.      Lastly, a threshold can be set, which can be either a lower threshold
  885.      or an upper threshold. The N's below a lower threshold or above an upper
  886.      threshold are not modified. A lower threshold below the lowest N 
  887.      (indicated as NMIN) has no effect.
  888.  
  889.  
  890.  
  891.  
  892.      V - CYCLIC COLOURING
  893.  
  894.      This is the traditional colouring of most available Mandelbrot
  895.      explorers: one starts from a given colour in the palette for N=0 and one
  896.      advances by one colour everytime than N increases by 1, or 2... i.e.
  897.      the value of the incrementation step. When one arrives to the
  898.      last colour in the palette, one goes on with the first colour.
  899.  
  900.      In MandelTour, cyclic colouring always begins at color 20 (the first
  901.      available colour, according to the MandelTour concepts), and this 
  902.      colour is automatically attributed to the lowest N in the picture.
  903.      
  904.      Hint: arrange it so that the colour gradation ending at color 255 can 
  905.      be continued with the gradation starting at colour 20.
  906.  
  907.  
  908.  In low memory operation, if MandelTour was obliged to store the N's on
  909.  disk(ette), only the direct interpretation and the cyclic colouring
  910.  are enabled.
  911.  
  912.  
  913.    
  914.                This menu runs around a Palettes file, which contains...
  915. Freeze palette palettes, obviously. When running in the "frozen palette" 
  916.                mode, you can leaf through the various stored palettes and 
  917.                experiment their effect on the current picture on screen,
  918.  and any picture that you reload is converted in the frozen palette that 
  919.  you chose.                
  920.  
  921.  Selecting this menu makes a window to appear with new hotkeys and 4 gadgets, 
  922.  two for managing the Palettes file, two for exiting the menu:
  923.  
  924.  ADD     adds the current palette to the file. Remember that every record
  925.          is 770 bytes long. If you go up to 100 palettes, this will require
  926.          a 77K file, which could be difficult if you are running MandelTour
  927.          from a diskette; be sure to keep enough free space in your
  928.          master diskette. 
  929.  REMOVE  removes this palette from the file (obviously, there is no effect
  930.          on the displayed picture).
  931.  FREEZE  returns to the general menu within frozen palette mode. The colours
  932.          are frozen to the palette of the displayed picture, whether this
  933.          palette was stored in the file or not.
  934.  FREE    returns to the general menu in normal mode.
  935.  
  936.  There are 4 new hotkeys:
  937.      L : for the next palette (or the 1st one, at the end of the file)
  938.      M : for the preceding palette.
  939.      R : restores initial colours
  940.      S : resave the picture
  941.  The arrow keys remain active, so that you can move across the catalog as
  942.  usual. Every picture is loaded with its original colours and you can
  943.  then add its palette to the file.
  944.  
  945.  If you exit through FREEZE, the L/M/R/S hotkeys remain active. Every
  946.  picture is recoloured according to the frozen palette and this palette
  947.  can be changed with L/M keys.
  948.  
  949.  There are 3 ways to exit from the frozen palette mode:
  950.   - select the "Freeze palette" menu again and click FREE
  951.   - force new colours by selecting the "Palette" menu
  952.   - by selecting the "Refresh" menu, which reloads the current picture
  953.     with its original colours.  
  954.  
  955.  
  956.  
  957.              
  958.              This function allows to pass from the pure Mandelbrot mode
  959. Change mode  to the Julia mode or to an incomplete Mandelbrot mode.
  960.              Simply answer the questions.
  961.  
  962.  
  963.  
  964.   
  965.              MandelTour does not really make animations. It simply computes
  966. Animations   pictures for an animation, it numbers them and it saves them 
  967.              where you want. You will have to reload these pictures in an
  968.              animation-making program (DPaint, for instance).  
  969.              
  970.  In pure Mandelbrot mode, the animation cannot be anything else than a move
  971.  in the Mandelbrot set, i.e. a morphing between two frames, a combination 
  972.  between travelling and zooming. Other kinds of animation are possible in
  973.  Julia or incomplete modes:
  974.  - the same kind of morphing animation      
  975.  - a full-set source animation, i.e. pictures of full sets (not enlarged)
  976.    with a moving source point. This is the only possible animation if there
  977.    is no picture in the Julia screen.
  978.  - an enlarged-set source animation. For this, you must have an enlarged
  979.    picture in the Julia screen and ask for pictures "with the same frame".  
  980.  
  981.  MandelTour animations can consist of an arbitrary number of linked
  982.  sequences, so that complex animations such as moves along the boundary of 
  983.  the Mandelbrot set or closed-loop moves of a Julia source are possible. 
  984.  Of course any sequence always starts from the last picture of the preceding 
  985.  sequence.
  986.  
  987.  Three stages can be considered when building an animation:
  988.   - the construction of a "ram:anim.script" file, where MandelTour collects
  989.     all the information about the pictures which define the various 
  990.     sequences. This file is deleted only after the computation of the
  991.     animation.
  992.   - the choice of the animation colouring mode (not to be confused with the 
  993.     rendering mode for its various pictures), just after the computation of 
  994.     the first picture. Due to the specific features of MandelTour, special 
  995.     difficulties arise, which will be discussed later.
  996.   - finally, the computation of other pictures.
  997.  MandelTour makes its best to guide the user as naturally as possible. We
  998.  now follow what happens when you have selected this Animation menu.
  999.  
  1000.  
  1001.  
  1002. 1 - Building the animation
  1003.  
  1004.  You are asked whether you are ready to define the 1st picture, i.e. the 
  1005.  beginning of the 1st sequence of your future animation. On the "yes" answer,
  1006.  as for any new picture, you must outline the frame to be enlarged or click 
  1007.  a new source point.
  1008.    Then the parameter confirmation opens, with only one new feature: the
  1009.  program suggests to save the pictures in ram, under the generic name
  1010.  MANDPIC --complete names wil be MANDPIC001, MANDPIC002... Click this line
  1011.  if you prefer to save the pictures elsewhere under another name, and answer
  1012.  the appropriate lines of a standard file requester. Put no number in
  1013.  the file name; the 001, 002... will be automatically added.  
  1014.    Don't forget that reducing the picture size means less memory and 
  1015.  faster computations.
  1016.    Make sure that the NMAX can suit all the pictures in the animation,
  1017.  because it will be the same for all of them.
  1018.    Lastly, if you want to enter coordinates through the keyboard, now is
  1019.  the right time (click the 1st line).
  1020.    
  1021.  This picture is not computed at once. You are simply asked to define the
  1022.  2nd picture. You may refuse, for instance because the currently displayed
  1023.  images do not allow you to define this 2nd picture with enough accuracy.
  1024.  Once you are back to the general menu, look for more adapted images
  1025.  and then select the Animation menu again. You are then directly invited 
  1026.  to define this 2nd picture. Do as usual, i.e. new frame or new source.
  1027.    Generally there will be no parameter confirmation, because all the 
  1028.  pictures will be computed with the same parameters, specially with the 
  1029.  same size. A difficulty can arise if you chose a free format without 
  1030.  keeping the same width/height ratio in the two pictures; then, MandelTour 
  1031.  keeps the upper corners and it corrects the height so as to recover the
  1032.  same ratio.  You are warned only if the correction is higher than 5%.
  1033.    An exception: if you entered coordinates through the keyboard for the
  1034.  1st picture, the confirmation window reopens so as to enter coordinates
  1035.  for the 2nd picture.   
  1036.  
  1037.  Once the 2nd picture has been defined, you are asked the number of steps
  1038.  between the two pictures (notice that there will be one more picture than
  1039.  there are steps)
  1040.  
  1041.  Then a new request window opens, where you must choose between adding a
  1042.  sequence, starting the calculations, beginning again from scratch, or
  1043.  returning to the general menu. Adding a new sequence amounts to defining 
  1044.  its last picture, since this sequence must begin with the last defined 
  1045.  picture. Returning to the general menu is not a general cancellation; 
  1046.  this allows you to change the pictures on screens and then to resume the
  1047.  animation definition, by selecting again the Animation menu.
  1048.  
  1049.  Finally the computation of the 1st picture begins.
  1050.  
  1051.  
  1052.  
  1053.  
  1054. 2 - Choosing the colouring mode of the animation.
  1055.  
  1056.  Once the first picture has been computed, the rendering window pops up
  1057.  with a new request, rather esoteric, about the colouring mode. You must 
  1058.  know that mapping the iteration numbers N to colours is done in 2 stages:
  1059.  (1) a translation where the N's are transformed into colour numbers
  1060.      from 20 to 255 (for 256-colour screens)
  1061.  (2) the transformation between these abstract colour numbers and the 
  1062.      real colours is done through the palette choice.    
  1063.  You must choose among three possibilities:
  1064.      - fixed translation table and fixed palette
  1065.      - a new translation table for every picture, but a single palette
  1066.      - a new translation table and a new palette for every picture.
  1067.  
  1068.  You must understand the difficulty, which just comes from the colouring
  1069.  process in MandelTour.
  1070.  
  1071.  Let's assume that, in picture #1, the N's start from NMin=12 (for example)
  1072.  with enough pixels at N=12 to allocate the first colour to N=12, while the
  1073.  next colour is allocated to N=13 and higher. The translation table thus 
  1074.  begins with
  1075.          N=12 -> colour #20   ;   N=13 -> colour #21 ...  
  1076.  Let's assume that we are diving in the Set, towards a picture where the 
  1077.  N's start with a clearly higher value, say 24 for instance. As pictures 
  1078.  are processed, there are less and less pixels with N=12, and finally none. 
  1079.  Then, the minimum for N is N=13 and, normally, MandelTour would allocate 
  1080.  the first available colour to this minimum, hence a translation table 
  1081.  beginning with
  1082.          N=13 -> colour #20  ...
  1083.  This entails that the colour of N=13 points switches from one colour to
  1084.  another one, and so will do the colour of points N=14, 15... hence a
  1085.  colour flickering in the animation, generally unhappy.
  1086.  
  1087.  Two solutions can be considered: to prevent this color switching, or
  1088.  to make it imperceptible.
  1089.  
  1090.  The first solution just is the colouring mode with a fixed translation 
  1091.  table. The translation N -> colour number is set for the 1st picture
  1092.  and it is used for all pictures. Two remarks:
  1093.  - This will be a good solution if the N's do not vary much during the
  1094.  animation, for instance for a pure travelling (with no zooming) across
  1095.  the Mandelbrot set, or for a source Julia animation. 
  1096.  - On the contrary, in the case of a thorough dive in the Mandelbrot set,
  1097.  one can get the last pictures with dramatically few colours. For instance,
  1098.  if NMin increases from 12 to 50, all colours below that attributed to 
  1099.  N=50 in the 1st picture will not be present in the last pictures. And if 
  1100.  NMin climbs up to several hundreds, there could be no colour left at all...
  1101.  at least in all cases where the translation table is finite, i.e. for
  1102.  all the specific rendering modes of MandelTour. The only way to escape
  1103.  this problem is to do as the other Mandelbrot explorers, i.e. to use a
  1104.  cyclic colouring, which indeed corresponds to an infinite translation
  1105.  table.      
  1106.  
  1107.  
  1108.  However, it's somewhat vexing to be obliged to go back to the cyclic 
  1109.  colouring, a kind of failure for MandelTour and its sophisticated 
  1110.  renderings, hence the other suggested solution -- making the flickering
  1111.  imperceptible. This will not be always possible, because this implies
  1112.  a palette with very soft gradations, hence a large number of colours,
  1113.  and thus a special kind of pictures. Then, the translation table will be
  1114.  done again for every picture, always with the first colour for the 
  1115.  lowest N and always with the least number of pixels per colour.
  1116.     A possible trap is that successive pictures may not to have the same
  1117.  number of colours. If a picture asks for more colours,it will find them
  1118.  beyond the colours defined for the 1st picture; however, this could be 
  1119.  fixed during the final mounting of the animation in DPaint. 
  1120.     It would be better for all pictures to share the same colour pattern,
  1121.  with the same gradations, the same colours for the lowest N's and the
  1122.  same colours for the largest N's, even through unequal numbers of
  1123.  intermediate colours, i.e. by mapping the initial palette onto the
  1124.  palette of every picture. However, this leads to animations with 
  1125.  several palettes, and unfortunately very few programs can make such
  1126.  animations; for instance, DPaint cannot. So, this solution probably is 
  1127.  out of reach for most of you.
  1128.  
  1129.  
  1130.  As a conclusion, choose:
  1131.  - the fixed translation if the N's (and specially NMin) don't vary too 
  1132.    much, or if you intend to use a cyclic colouring
  1133.  - a new translation for every picture, but with a fixed palette, if you
  1134.    have a lot of colours, with very soft gradations for lowest colours
  1135.  - if you have a software which can make animations with several palettes, try
  1136.    the mode with a new translation table and new palette for every picture.
  1137.  
  1138.  
  1139.  Once you have made up your mind, you must decide which rendering to use
  1140.  for the animation: direct interpretation, blurring... Take special care 
  1141.  when setting the least number of pixel per colour, which must go with all
  1142.  the pictures.
  1143.  
  1144.  
  1145.  
  1146. 3 - Computation
  1147.  
  1148.  Nothing to do but to wait... MandelTour informs you about the advancement
  1149.  of the computation.
  1150.  
  1151.  
  1152.  
  1153.  Preparing an animation often asks for considerable work. Possibly you will
  1154.  have to compute special key pictures only as a help to define the various
  1155.  sequences of your animation. You can temporarily include these pictures 
  1156.  in the catalog and remove them later (with the "Delete picture" function).    
  1157.  Do trials with few images in sequences in order to investigate the
  1158.  colouring problems. Reduce the picture size in order to go faster.
  1159.  
  1160.  Animations are a precious tool for exploring the Julia or incomplete sets. 
  1161.  
  1162.  
  1163.  
  1164.  
  1165.      
  1166.              This function will be specially useful to those who installed
  1167. De-enlarging MandelTour together with the whole graphic library on hard disk,
  1168.              and who regularly delete the "less interesting" pictures so  
  1169.              as to face an endemic disk-space shortage. It happens that they 
  1170.  wonder how they could arrive to such beautiful image, strongly enlarged, 
  1171.  which remains alone in the library, without the intermediate pictures which
  1172.  traced the way to it. To some extent, this "de-enlarging" function aims at 
  1173.  recovering a part of the lost information. In a few words, it performs a 
  1174.  computed  zoom out; the user must simply indicate the zooming ratio 
  1175.  he wants. Then MandelTour moves on the usual new picture process, i.e. the
  1176.  confirmation of parameters and the computation.
  1177.   
  1178.      
  1179.  
  1180.  
  1181.  
  1182.                                                    Version  
  1183.                                                    Saving
  1184.                                                    Delete picture
  1185.                               THE "GENERAL" MENU   Add picture
  1186.                                                    Coordinates
  1187.                                                    Memo 
  1188.                                                    Quit
  1189.  
  1190.          
  1191. Version        Copyright, version number and modest claiming... 
  1192.  
  1193.                Makes a copy of the picture file outside the catalog, for
  1194. Saving         instance to load it in a painting program. You are
  1195.                asked for a path and a name for the saving. 
  1196.                  This copy does not contain the information chunk and
  1197.                cannot be reimported in MandelTour.
  1198.  
  1199.                Deletes the IFF file of the displayed picture and removes
  1200.                the corresponding entry in the catalog. 
  1201. Delete picture   A related function: whenever MandelTour can't load a file,
  1202.                it proposes to delete the corresponding entry. You may 
  1203.                refuse if you hope to restore the file.                
  1204.  
  1205.                This functions allows you to import pictures in your graphic
  1206. Add picture    library. Of course these pictures must have been obtained
  1207.                by MandelTour and they must still contain the information
  1208.                chunk . They can be in disk(ettes) or in ram. Tell where
  1209.  to find them through a classical file requester and answer the questions. 
  1210.  Several applications are possible.
  1211.  
  1212.  You have a friend who sent you his finest pictures from MandelTour. You 
  1213.  can include them in your library.
  1214.  
  1215.  More distressing: your catalog file was crushed in some unfortunate accident.
  1216.  Don't panic! First, in the case where a corrupted file would be left,
  1217.  better delete it completely. Then, rerunning MandelTour should automati-
  1218.  cally reconstitute a catalog with all the entries in the root directory. 
  1219.  The story should end there if you operate completely from hard disk, with 
  1220.  no picture outside. If you are working with diskettes, you will simply
  1221.  add pictures from your other diskettes to complete your catalog.  
  1222.  The only drawback is that you will have to move all these pictures onto
  1223.  new diskettes.  
  1224.  
  1225.           
  1226.  
  1227. Coordinates  Help for localising special points in a picture. 
  1228.  
  1229.  
  1230. Memo         Summary of keyboard shortcuts. Can also be obtained with
  1231.           HELP key. 
  1232.          
  1233. Quit         To quit gently.
  1234.          
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240. --------------------------- APPENDICES ---------------------------------
  1241.  
  1242.  
  1243.  
  1244. HOW MANDELTOUR PUTS COLOURS. THE LEAST NUMBER OF PIXELS PER COLOUR
  1245.  
  1246. First of all, MandelTour memorises the iteration numbers N for all the
  1247. pixels of the picture. At the end of the computation, it sets the histogram
  1248. of the N's, i.e. it counts how many pixels correspond to N=0, how many to
  1249. N=1, N=2... up to NMAX, the input maximum number. One usually speaks of the
  1250. "boxes" of the histogram; the box "N" contains the number of pixels so
  1251. enumerated.
  1252.  
  1253. The first boxes which are not empty are always the most filled (the first 
  1254. one corresponds to the NMin displayed in the "Data" window). On the other 
  1255. hand, boxes for the highest N's are always near empty --except, possibly,
  1256. the box "NMAX", when the picture contains a part of the Mandelbrot set.
  1257.  
  1258. All these pixels must receive a colour from the 256 available colours, or,
  1259. more precisely, from the 236 colours other than those left to Intuition.
  1260.  
  1261. The first idea which comes to mind is that it would be pleasant for all
  1262. these colours to be equally present on the screen; in other terms, there
  1263. should be the same number of pixels for each of them. 
  1264.  
  1265. As an example, let's consider a 320x256 screen, hence 320x256=83520 pixels.
  1266. We remove the points of the Mandelbrot set (to be put in black); assume they 
  1267. are 3630. We thus remain with 79890 pixels, to be distributed over the 236 
  1268. available colours. Ideally, we should have 79890 / 236 = 338 pixels for
  1269. every colour. Unfortunately, the first non-empty boxes in the histogram 
  1270. are far more populated; for instance, one can start from NMin=54 with
  1271. 4500 pixels for this value. There are by far too many points at N=54, but 
  1272. there is no way out and the first color must be attributed to N=54. There
  1273. remain 79890-4500 = 75390 pixels and 235 colours to be distributed. The new
  1274. ideal ratio is 75390/235 = 321, but most probably the next box (N=55) also
  1275. is too much populated, hence the allocation of the 2nd colour to N=55, and
  1276. so on.
  1277.  
  1278. The story so proceeds. At each stage, we are left with so many pixels and
  1279. so many colours, hence an ideal ratio of pixels per colour. However, the
  1280. histogram boxes are less and less filled, and their population rapidly
  1281. falls below this ratio. For instance, one can arrive to the following case:
  1282.   
  1283.      Remaining: 40000 pixels, 200 couleurs  ->  Ideal ratio=200
  1284.      Next boxes in the histogram:
  1285.          N=61 : 100 pixels
  1286.          N=62 :  80 pixels
  1287.          N=63 :  70 pixels
  1288.          ....
  1289. We shall have to add several boxes (here, N=61 and N=62) to roughly balance 
  1290. the ideal ratio. Then we count the remaining pixels and colours, and so on...  
  1291.  
  1292. We thus see that our pleasant idea does not work. The "ideal number" of
  1293. pixels per colour don't stop decreasing. Furthermore, it can fall down to
  1294. ridiculous values, such as 50 pixels or even less. Generally these 50 pixels 
  1295. will be scattered over the whole screen as a kind of dust, either nearly
  1296. invisible or, more often, degrading the picture quality.
  1297.  
  1298. This problem is specific to 256-colour machines; it did not arise in previous
  1299. 32-colour versions of MandelTour. It can be easily solved by setting a
  1300. least number of pixels per colour, a lower bound for the previous "ideal"
  1301. ratio. Of course, quite a few boxes will have to be added to balance it,
  1302. so that generally we will arrive at the end of the pixels before arriving
  1303. at the last colour. Pictures will be less than 256-colour, but they will be
  1304. far nicer.
  1305.  
  1306.  
  1307.  
  1308.  
  1309.                                        
  1310.  
  1311. COMPLEMENTS ABOUT COMPUTATIONS:
  1312.  
  1313.    Once the source point (xs,ys) is chosen, every pixel (x,y) leads to a
  1314. number N through the following algorithm (pseudo-code)
  1315.  
  1316.            MANDELBROT             : u0=0  , v0=0 , cx=x , cy=y
  1317.            JULIA                  : u0=x  , v0=y , cx=xs, cy=ys
  1318.            Incomplete-1 Mandelbrot: u0=xs , v0=ys, cx=x , cy= y
  1319.            Incomplete-2 Mandelbrot: u0=xs , v0=x , cx=ys, cy= y
  1320.            Incomplete-3 Mandelbrot: u0=xs , v0=y , cx=x , cy= ys
  1321.            Incomplete-4 Mandelbrot: u0=x  , v0=ys, cx=xs, cy= y
  1322.            Incomplete-5 Mandelbrot: u0=y  , v0=ys, cx=x , cy= xs
  1323.  
  1324.            u=u0, v=v0 , N=0
  1325.            WHILE (u*u+v*v<2) AND (N<NMAX)  DO
  1326.                w = u*u - v*v + cx
  1327.                v = 2u*v + cy
  1328.                u = w
  1329.                N = N + 1
  1330.            ENDWHILE
  1331.            OUTPUT: N
  1332.  
  1333.  
  1334. So, N is considered a 4-variable (x,y,xs,ys) function, defined in a 
  1335. 4-dimensional space. Such a complex object can be visualised only by 
  1336. means of sections in various planes. Simplest choices correspond to
  1337. coordinate planes, where the X,Y in the plane (the pixel coordinates)
  1338. are identified with 2 of the 4 above coordinates. There are 12 possible
  1339. choices, but since exchanging X and Y does not change the picture, we
  1340. obtain the 6 modes of the program (the pure Mandelbrot is the incomplete-1
  1341. type with xs=ys=0)  
  1342.  
  1343.  
  1344.  
  1345. THE COLOURS RESERVED TO INTUITION
  1346.  
  1347.  MandelTour attribute the following colours to Intuition:
  1348.  
  1349.  0 : (black)  screen background and colour for the Mandelbrot set
  1350.  1 : (white)  printing colour, and light border for the 3-D look
  1351.  2 : (light grey) 2nd printing colour
  1352.  3 : desactivated window titles, and printing in file requesters
  1353.  4 : dark border for the 3-D look
  1354.  5 : (grey) background of windows
  1355.  6 : bar in active windows
  1356.  7 : title in active window
  1357.  8 : menu outline (must contrast with colour 9)
  1358.  9 : background colour in menus
  1359.  10: underlining of menu bars
  1360.  11: printing of drawers in file requesters
  1361.  17,18,19 : mouse pointer
  1362.  
  1363.  
  1364.  
  1365.  
  1366. A FEW TITLES
  1367.  
  1368.    We must quote the founder father : B. Mandelbrot, "Les objets fractals",
  1369. Flammarion,1989,3rd ed. (in French, but this book has been translated in
  1370. most languages), but this is a nearly philosophical book, very general, 
  1371. about the fractal concept and its importance. Don't expect much information 
  1372. about the Mandelbrot set and its computation.
  1373.    Quite more technical and richer: H.O. Peitgen et P.H. Richter,
  1374. "The Beauty of fractals", Springer-Verlag, Berlin, 1986. Hold on firmly!
  1375. This is mathematics with no concession; understand what you can. But
  1376. pictures are splendid; one is near Art. 
  1377.  
  1378.  
  1379.  
  1380.  
  1381. THE AUTHOR
  1382.  
  1383.            Charles VASSALLO
  1384.            33 route des TraouiĆ©ros - 22730 TREGASTEL - FRANCE
  1385.  
  1386.